<template>
  <Item :datalist="list" title="相关动漫" />
</template>

<script>
import { mapState, mapActions } from 'vuex'
import Item from '@/components/Item/list2v3.vue'
export default {
  data() {
    return {
      list: []
    }
  },
  props: ['not', 'actor'],
  methods: {
    ...mapActions('list', ['getLikeVod']),
    getData() {
      this.getLikeVod({
        actor: this.actor,
        not: this.not,
        limit: 6
      }).then(res => {
        this.list = res.data
      })
    }
  },
  mounted() {
    this.getData()
  },
  components: {
    Item
  }
}
</script>

<style lang="scss" scoped></style>
